TARGET=sample1

all : sample1

pa_breakcont.cmo : pa_breakcont.ml
	ocamlc -pp camlp4oof -I +camlp4 camlp4lib.cma pa_breakcont.ml


sample1 : pa_breakcont.cmo sample1.ml
	camlp4o pa_breakcont.cmo sample1.ml # for show
	ocamlc -pp "camlp4o pa_breakcont.cmo" -o $(TARGET)  sample1.ml  	

clean :
	rm -f *.cmi *.cmo *~ semantic.cache $(TARGET) out_sample1.ml

release :
	rm -f pa_breakcont-0.14.tar.gz
	tar -cf pa_breakcont-0.14.tar *.ml  NOTES Makefile
	gzip pa_breakcont-0.14.tar